package com.lepai.component;

import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

/**
 *
 */
public class Main {

    private static int SUM;

    private static List<String> types;

    private static Scanner scanner;

    public Main(){
        this.scanner = new Scanner(System.in);
    }

    public static void main(String[] args) {
        SUM = scanner.nextInt();
        String type = scanner.nextLine();
        types = Arrays.asList(type.split(" "));
        types.stream().sorted();
        types.stream().forEach(System.out::println);
    }

}
